package com.app.brilliant.system.scheduled;
import com.app.brilliant.game.service.BriOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component("ScheduleRunBean")
public class ScheduleRunBean {
    @Autowired
    private BriOrderService briOrderService;
    public void handleTimeOverOrder(){
        briOrderService.batchCancelUnpaidOrders();
    }
}
